<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>moltk.gui.moltk_ui</title>
  <link rel="stylesheet" href="epydoc.css" type="text/css" />
  <script type="text/javascript" src="epydoc.js"></script>
</head>

<body bgcolor="white" text="black" link="blue" vlink="#204080"
      alink="#204080">
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="moltk-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center"
            ><a class="navbar" target="_top" href="http://moltk.rotatingpenguin.com/">MolTK python API v0.4.2 Documentation</a></th>
          </tr></table></th>
  </tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="100%">
      <span class="breadcrumbs">
        <a href="moltk-module.html">Package&nbsp;moltk</a> ::
        <a href="moltk.gui-module.html">Package&nbsp;gui</a> ::
        Module&nbsp;moltk_ui
      </span>
    </td>
    <td>
      <table cellpadding="0" cellspacing="0">
        <!-- hide/show private -->
        <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
    onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
        <tr><td align="right"><span class="options"
            >[<a href="frames.html" target="_top">frames</a
            >]&nbsp;|&nbsp;<a href="moltk.gui.moltk_ui-pysrc.html"
            target="_top">no&nbsp;frames</a>]</span></td></tr>
      </table>
    </td>
  </tr>
</table>
<h1 class="epydoc">Source Code for <a href="moltk.gui.moltk_ui-module.html">Module moltk.gui.moltk_ui</a></h1>
<pre class="py-src">
<a name="L1"></a><tt class="py-lineno"> 1</tt>  <tt class="py-line"><tt class="py-comment"># -*- coding: utf-8 -*-</tt> </tt>
<a name="L2"></a><tt class="py-lineno"> 2</tt>  <tt class="py-line"> </tt>
<a name="L3"></a><tt class="py-lineno"> 3</tt>  <tt class="py-line"><tt class="py-comment"># Form implementation generated from reading ui file 'moltk.ui'</tt> </tt>
<a name="L4"></a><tt class="py-lineno"> 4</tt>  <tt class="py-line"><tt class="py-comment">#</tt> </tt>
<a name="L5"></a><tt class="py-lineno"> 5</tt>  <tt class="py-line"><tt class="py-comment"># Created: Sat Nov 05 12:09:06 2011</tt> </tt>
<a name="L6"></a><tt class="py-lineno"> 6</tt>  <tt class="py-line"><tt class="py-comment">#      by: pyside-uic 0.2.10 running on PySide 1.0.4</tt> </tt>
<a name="L7"></a><tt class="py-lineno"> 7</tt>  <tt class="py-line"><tt class="py-comment">#</tt> </tt>
<a name="L8"></a><tt class="py-lineno"> 8</tt>  <tt class="py-line"><tt class="py-comment"># WARNING! All changes made in this file will be lost!</tt> </tt>
<a name="L9"></a><tt class="py-lineno"> 9</tt>  <tt class="py-line"> </tt>
<a name="L10"></a><tt class="py-lineno">10</tt>  <tt class="py-line"><tt class="py-keyword">from</tt> <tt class="py-name">PySide</tt> <tt class="py-keyword">import</tt> <tt class="py-name">QtCore</tt><tt class="py-op">,</tt> <tt class="py-name">QtGui</tt> </tt>
<a name="L11"></a><tt class="py-lineno">11</tt>  <tt class="py-line"> </tt>
<a name="Ui_MoltkMainWindow"></a><div id="Ui_MoltkMainWindow-def"><a name="L12"></a><tt class="py-lineno">12</tt> <a class="py-toggle" href="#" id="Ui_MoltkMainWindow-toggle" onclick="return toggle('Ui_MoltkMainWindow');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="moltk.gui.moltk_ui.Ui_MoltkMainWindow-class.html">Ui_MoltkMainWindow</a><tt class="py-op">(</tt><tt class="py-base-class">object</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Ui_MoltkMainWindow-collapsed" style="display:none;" pad="++" indent="++++"></div><div id="Ui_MoltkMainWindow-expanded"><a name="Ui_MoltkMainWindow.setupUi"></a><div id="Ui_MoltkMainWindow.setupUi-def"><a name="L13"></a><tt class="py-lineno">13</tt> <a class="py-toggle" href="#" id="Ui_MoltkMainWindow.setupUi-toggle" onclick="return toggle('Ui_MoltkMainWindow.setupUi');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="moltk.gui.moltk_ui.Ui_MoltkMainWindow-class.html#setupUi">setupUi</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">MoltkMainWindow</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Ui_MoltkMainWindow.setupUi-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="Ui_MoltkMainWindow.setupUi-expanded"><a name="L14"></a><tt class="py-lineno">14</tt>  <tt class="py-line">        <tt id="link-0" class="py-name" targets="Class moltk.gui.moltk_app.MoltkMainWindow=moltk.gui.moltk_app.MoltkMainWindow-class.html"><a title="moltk.gui.moltk_app.MoltkMainWindow" class="py-name" href="#" onclick="return doclink('link-0', 'MoltkMainWindow', 'link-0');">MoltkMainWindow</a></tt><tt class="py-op">.</tt><tt class="py-name">setObjectName</tt><tt class="py-op">(</tt><tt class="py-string">"MoltkMainWindow"</tt><tt class="py-op">)</tt> </tt>
<a name="L15"></a><tt class="py-lineno">15</tt>  <tt class="py-line">        <tt id="link-1" class="py-name"><a title="moltk.gui.moltk_app.MoltkMainWindow" class="py-name" href="#" onclick="return doclink('link-1', 'MoltkMainWindow', 'link-0');">MoltkMainWindow</a></tt><tt class="py-op">.</tt><tt class="py-name">resize</tt><tt class="py-op">(</tt><tt class="py-number">498</tt><tt class="py-op">,</tt> <tt class="py-number">493</tt><tt class="py-op">)</tt> </tt>
<a name="L16"></a><tt class="py-lineno">16</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">centralwidget</tt> <tt class="py-op">=</tt> <tt class="py-name">QtGui</tt><tt class="py-op">.</tt><tt class="py-name">QWidget</tt><tt class="py-op">(</tt><tt id="link-2" class="py-name"><a title="moltk.gui.moltk_app.MoltkMainWindow" class="py-name" href="#" onclick="return doclink('link-2', 'MoltkMainWindow', 'link-0');">MoltkMainWindow</a></tt><tt class="py-op">)</tt> </tt>
<a name="L17"></a><tt class="py-lineno">17</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">centralwidget</tt><tt class="py-op">.</tt><tt class="py-name">setObjectName</tt><tt class="py-op">(</tt><tt class="py-string">"centralwidget"</tt><tt class="py-op">)</tt> </tt>
<a name="L18"></a><tt class="py-lineno">18</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">horizontalLayout</tt> <tt class="py-op">=</tt> <tt class="py-name">QtGui</tt><tt class="py-op">.</tt><tt class="py-name">QHBoxLayout</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">centralwidget</tt><tt class="py-op">)</tt> </tt>
<a name="L19"></a><tt class="py-lineno">19</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">horizontalLayout</tt><tt class="py-op">.</tt><tt class="py-name">setObjectName</tt><tt class="py-op">(</tt><tt class="py-string">"horizontalLayout"</tt><tt class="py-op">)</tt> </tt>
<a name="L20"></a><tt class="py-lineno">20</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">frame</tt> <tt class="py-op">=</tt> <tt class="py-name">QtGui</tt><tt class="py-op">.</tt><tt class="py-name">QFrame</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">centralwidget</tt><tt class="py-op">)</tt> </tt>
<a name="L21"></a><tt class="py-lineno">21</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">frame</tt><tt class="py-op">.</tt><tt class="py-name">setFrameShape</tt><tt class="py-op">(</tt><tt class="py-name">QtGui</tt><tt class="py-op">.</tt><tt class="py-name">QFrame</tt><tt class="py-op">.</tt><tt class="py-name">StyledPanel</tt><tt class="py-op">)</tt> </tt>
<a name="L22"></a><tt class="py-lineno">22</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">frame</tt><tt class="py-op">.</tt><tt class="py-name">setFrameShadow</tt><tt class="py-op">(</tt><tt class="py-name">QtGui</tt><tt class="py-op">.</tt><tt class="py-name">QFrame</tt><tt class="py-op">.</tt><tt class="py-name">Raised</tt><tt class="py-op">)</tt> </tt>
<a name="L23"></a><tt class="py-lineno">23</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">frame</tt><tt class="py-op">.</tt><tt class="py-name">setObjectName</tt><tt class="py-op">(</tt><tt class="py-string">"frame"</tt><tt class="py-op">)</tt> </tt>
<a name="L24"></a><tt class="py-lineno">24</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">horizontalLayout_2</tt> <tt class="py-op">=</tt> <tt class="py-name">QtGui</tt><tt class="py-op">.</tt><tt class="py-name">QHBoxLayout</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">frame</tt><tt class="py-op">)</tt> </tt>
<a name="L25"></a><tt class="py-lineno">25</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">horizontalLayout_2</tt><tt class="py-op">.</tt><tt class="py-name">setObjectName</tt><tt class="py-op">(</tt><tt class="py-string">"horizontalLayout_2"</tt><tt class="py-op">)</tt> </tt>
<a name="L26"></a><tt class="py-lineno">26</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">splitter</tt> <tt class="py-op">=</tt> <tt class="py-name">QtGui</tt><tt class="py-op">.</tt><tt class="py-name">QSplitter</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">frame</tt><tt class="py-op">)</tt> </tt>
<a name="L27"></a><tt class="py-lineno">27</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">splitter</tt><tt class="py-op">.</tt><tt class="py-name">setFrameShape</tt><tt class="py-op">(</tt><tt class="py-name">QtGui</tt><tt class="py-op">.</tt><tt class="py-name">QFrame</tt><tt class="py-op">.</tt><tt class="py-name">StyledPanel</tt><tt class="py-op">)</tt> </tt>
<a name="L28"></a><tt class="py-lineno">28</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">splitter</tt><tt class="py-op">.</tt><tt class="py-name">setFrameShadow</tt><tt class="py-op">(</tt><tt class="py-name">QtGui</tt><tt class="py-op">.</tt><tt class="py-name">QFrame</tt><tt class="py-op">.</tt><tt class="py-name">Raised</tt><tt class="py-op">)</tt> </tt>
<a name="L29"></a><tt class="py-lineno">29</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">splitter</tt><tt class="py-op">.</tt><tt class="py-name">setOrientation</tt><tt class="py-op">(</tt><tt class="py-name">QtCore</tt><tt class="py-op">.</tt><tt class="py-name">Qt</tt><tt class="py-op">.</tt><tt class="py-name">Vertical</tt><tt class="py-op">)</tt> </tt>
<a name="L30"></a><tt class="py-lineno">30</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">splitter</tt><tt class="py-op">.</tt><tt class="py-name">setOpaqueResize</tt><tt class="py-op">(</tt><tt class="py-name">True</tt><tt class="py-op">)</tt> </tt>
<a name="L31"></a><tt class="py-lineno">31</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">splitter</tt><tt class="py-op">.</tt><tt class="py-name">setHandleWidth</tt><tt class="py-op">(</tt><tt class="py-number">5</tt><tt class="py-op">)</tt> </tt>
<a name="L32"></a><tt class="py-lineno">32</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">splitter</tt><tt class="py-op">.</tt><tt class="py-name">setObjectName</tt><tt class="py-op">(</tt><tt class="py-string">"splitter"</tt><tt class="py-op">)</tt> </tt>
<a name="L33"></a><tt class="py-lineno">33</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">frame_2</tt> <tt class="py-op">=</tt> <tt class="py-name">QtGui</tt><tt class="py-op">.</tt><tt class="py-name">QFrame</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">splitter</tt><tt class="py-op">)</tt> </tt>
<a name="L34"></a><tt class="py-lineno">34</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">frame_2</tt><tt class="py-op">.</tt><tt class="py-name">setFrameShape</tt><tt class="py-op">(</tt><tt class="py-name">QtGui</tt><tt class="py-op">.</tt><tt class="py-name">QFrame</tt><tt class="py-op">.</tt><tt class="py-name">StyledPanel</tt><tt class="py-op">)</tt> </tt>
<a name="L35"></a><tt class="py-lineno">35</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">frame_2</tt><tt class="py-op">.</tt><tt class="py-name">setFrameShadow</tt><tt class="py-op">(</tt><tt class="py-name">QtGui</tt><tt class="py-op">.</tt><tt class="py-name">QFrame</tt><tt class="py-op">.</tt><tt class="py-name">Raised</tt><tt class="py-op">)</tt> </tt>
<a name="L36"></a><tt class="py-lineno">36</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">frame_2</tt><tt class="py-op">.</tt><tt class="py-name">setLineWidth</tt><tt class="py-op">(</tt><tt class="py-number">5</tt><tt class="py-op">)</tt> </tt>
<a name="L37"></a><tt class="py-lineno">37</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">frame_2</tt><tt class="py-op">.</tt><tt class="py-name">setObjectName</tt><tt class="py-op">(</tt><tt class="py-string">"frame_2"</tt><tt class="py-op">)</tt> </tt>
<a name="L38"></a><tt class="py-lineno">38</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">widget_3</tt> <tt class="py-op">=</tt> <tt id="link-3" class="py-name" targets="Class moltk.gui.structure_canvas.StructureCanvas=moltk.gui.structure_canvas.StructureCanvas-class.html"><a title="moltk.gui.structure_canvas.StructureCanvas" class="py-name" href="#" onclick="return doclink('link-3', 'StructureCanvas', 'link-3');">StructureCanvas</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">splitter</tt><tt class="py-op">)</tt> </tt>
<a name="L39"></a><tt class="py-lineno">39</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">widget_3</tt><tt class="py-op">.</tt><tt class="py-name">setObjectName</tt><tt class="py-op">(</tt><tt class="py-string">"widget_3"</tt><tt class="py-op">)</tt> </tt>
<a name="L40"></a><tt class="py-lineno">40</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">horizontalLayout_2</tt><tt class="py-op">.</tt><tt class="py-name">addWidget</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">splitter</tt><tt class="py-op">)</tt> </tt>
<a name="L41"></a><tt class="py-lineno">41</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">horizontalLayout</tt><tt class="py-op">.</tt><tt class="py-name">addWidget</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">frame</tt><tt class="py-op">)</tt> </tt>
<a name="L42"></a><tt class="py-lineno">42</tt>  <tt class="py-line">        <tt id="link-4" class="py-name"><a title="moltk.gui.moltk_app.MoltkMainWindow" class="py-name" href="#" onclick="return doclink('link-4', 'MoltkMainWindow', 'link-0');">MoltkMainWindow</a></tt><tt class="py-op">.</tt><tt class="py-name">setCentralWidget</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">centralwidget</tt><tt class="py-op">)</tt> </tt>
<a name="L43"></a><tt class="py-lineno">43</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">menubar</tt> <tt class="py-op">=</tt> <tt class="py-name">QtGui</tt><tt class="py-op">.</tt><tt class="py-name">QMenuBar</tt><tt class="py-op">(</tt><tt id="link-5" class="py-name"><a title="moltk.gui.moltk_app.MoltkMainWindow" class="py-name" href="#" onclick="return doclink('link-5', 'MoltkMainWindow', 'link-0');">MoltkMainWindow</a></tt><tt class="py-op">)</tt> </tt>
<a name="L44"></a><tt class="py-lineno">44</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">menubar</tt><tt class="py-op">.</tt><tt class="py-name">setGeometry</tt><tt class="py-op">(</tt><tt class="py-name">QtCore</tt><tt class="py-op">.</tt><tt class="py-name">QRect</tt><tt class="py-op">(</tt><tt class="py-number">0</tt><tt class="py-op">,</tt> <tt class="py-number">0</tt><tt class="py-op">,</tt> <tt class="py-number">498</tt><tt class="py-op">,</tt> <tt class="py-number">22</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
<a name="L45"></a><tt class="py-lineno">45</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">menubar</tt><tt class="py-op">.</tt><tt class="py-name">setObjectName</tt><tt class="py-op">(</tt><tt class="py-string">"menubar"</tt><tt class="py-op">)</tt> </tt>
<a name="L46"></a><tt class="py-lineno">46</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">menuFile</tt> <tt class="py-op">=</tt> <tt class="py-name">QtGui</tt><tt class="py-op">.</tt><tt class="py-name">QMenu</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">menubar</tt><tt class="py-op">)</tt> </tt>
<a name="L47"></a><tt class="py-lineno">47</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">menuFile</tt><tt class="py-op">.</tt><tt class="py-name">setObjectName</tt><tt class="py-op">(</tt><tt class="py-string">"menuFile"</tt><tt class="py-op">)</tt> </tt>
<a name="L48"></a><tt class="py-lineno">48</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">menuHelp</tt> <tt class="py-op">=</tt> <tt class="py-name">QtGui</tt><tt class="py-op">.</tt><tt class="py-name">QMenu</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">menubar</tt><tt class="py-op">)</tt> </tt>
<a name="L49"></a><tt class="py-lineno">49</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">menuHelp</tt><tt class="py-op">.</tt><tt class="py-name">setObjectName</tt><tt class="py-op">(</tt><tt class="py-string">"menuHelp"</tt><tt class="py-op">)</tt> </tt>
<a name="L50"></a><tt class="py-lineno">50</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">menuEdit</tt> <tt class="py-op">=</tt> <tt class="py-name">QtGui</tt><tt class="py-op">.</tt><tt class="py-name">QMenu</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">menubar</tt><tt class="py-op">)</tt> </tt>
<a name="L51"></a><tt class="py-lineno">51</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">menuEdit</tt><tt class="py-op">.</tt><tt class="py-name">setObjectName</tt><tt class="py-op">(</tt><tt class="py-string">"menuEdit"</tt><tt class="py-op">)</tt> </tt>
<a name="L52"></a><tt class="py-lineno">52</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">menuView</tt> <tt class="py-op">=</tt> <tt class="py-name">QtGui</tt><tt class="py-op">.</tt><tt class="py-name">QMenu</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">menubar</tt><tt class="py-op">)</tt> </tt>
<a name="L53"></a><tt class="py-lineno">53</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">menuView</tt><tt class="py-op">.</tt><tt class="py-name">setObjectName</tt><tt class="py-op">(</tt><tt class="py-string">"menuView"</tt><tt class="py-op">)</tt> </tt>
<a name="L54"></a><tt class="py-lineno">54</tt>  <tt class="py-line">        <tt id="link-6" class="py-name"><a title="moltk.gui.moltk_app.MoltkMainWindow" class="py-name" href="#" onclick="return doclink('link-6', 'MoltkMainWindow', 'link-0');">MoltkMainWindow</a></tt><tt class="py-op">.</tt><tt class="py-name">setMenuBar</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">menubar</tt><tt class="py-op">)</tt> </tt>
<a name="L55"></a><tt class="py-lineno">55</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">statusbar</tt> <tt class="py-op">=</tt> <tt class="py-name">QtGui</tt><tt class="py-op">.</tt><tt class="py-name">QStatusBar</tt><tt class="py-op">(</tt><tt id="link-7" class="py-name"><a title="moltk.gui.moltk_app.MoltkMainWindow" class="py-name" href="#" onclick="return doclink('link-7', 'MoltkMainWindow', 'link-0');">MoltkMainWindow</a></tt><tt class="py-op">)</tt> </tt>
<a name="L56"></a><tt class="py-lineno">56</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">statusbar</tt><tt class="py-op">.</tt><tt class="py-name">setObjectName</tt><tt class="py-op">(</tt><tt class="py-string">"statusbar"</tt><tt class="py-op">)</tt> </tt>
<a name="L57"></a><tt class="py-lineno">57</tt>  <tt class="py-line">        <tt id="link-8" class="py-name"><a title="moltk.gui.moltk_app.MoltkMainWindow" class="py-name" href="#" onclick="return doclink('link-8', 'MoltkMainWindow', 'link-0');">MoltkMainWindow</a></tt><tt class="py-op">.</tt><tt class="py-name">setStatusBar</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">statusbar</tt><tt class="py-op">)</tt> </tt>
<a name="L58"></a><tt class="py-lineno">58</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">actionOpen</tt> <tt class="py-op">=</tt> <tt class="py-name">QtGui</tt><tt class="py-op">.</tt><tt class="py-name">QAction</tt><tt class="py-op">(</tt><tt id="link-9" class="py-name"><a title="moltk.gui.moltk_app.MoltkMainWindow" class="py-name" href="#" onclick="return doclink('link-9', 'MoltkMainWindow', 'link-0');">MoltkMainWindow</a></tt><tt class="py-op">)</tt> </tt>
<a name="L59"></a><tt class="py-lineno">59</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">actionOpen</tt><tt class="py-op">.</tt><tt class="py-name">setObjectName</tt><tt class="py-op">(</tt><tt class="py-string">"actionOpen"</tt><tt class="py-op">)</tt> </tt>
<a name="L60"></a><tt class="py-lineno">60</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">actionBrowse_MolTK_python_API</tt> <tt class="py-op">=</tt> <tt class="py-name">QtGui</tt><tt class="py-op">.</tt><tt class="py-name">QAction</tt><tt class="py-op">(</tt><tt id="link-10" class="py-name"><a title="moltk.gui.moltk_app.MoltkMainWindow" class="py-name" href="#" onclick="return doclink('link-10', 'MoltkMainWindow', 'link-0');">MoltkMainWindow</a></tt><tt class="py-op">)</tt> </tt>
<a name="L61"></a><tt class="py-lineno">61</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">actionBrowse_MolTK_python_API</tt><tt class="py-op">.</tt><tt class="py-name">setObjectName</tt><tt class="py-op">(</tt><tt class="py-string">"actionBrowse_MolTK_python_API"</tt><tt class="py-op">)</tt> </tt>
<a name="L62"></a><tt class="py-lineno">62</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">menuFile</tt><tt class="py-op">.</tt><tt class="py-name">addAction</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">actionOpen</tt><tt class="py-op">)</tt> </tt>
<a name="L63"></a><tt class="py-lineno">63</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">menuHelp</tt><tt class="py-op">.</tt><tt class="py-name">addAction</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">actionBrowse_MolTK_python_API</tt><tt class="py-op">)</tt> </tt>
<a name="L64"></a><tt class="py-lineno">64</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">menubar</tt><tt class="py-op">.</tt><tt class="py-name">addAction</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">menuFile</tt><tt class="py-op">.</tt><tt class="py-name">menuAction</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
<a name="L65"></a><tt class="py-lineno">65</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">menubar</tt><tt class="py-op">.</tt><tt class="py-name">addAction</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">menuEdit</tt><tt class="py-op">.</tt><tt class="py-name">menuAction</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
<a name="L66"></a><tt class="py-lineno">66</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">menubar</tt><tt class="py-op">.</tt><tt class="py-name">addAction</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">menuView</tt><tt class="py-op">.</tt><tt class="py-name">menuAction</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
<a name="L67"></a><tt class="py-lineno">67</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">menubar</tt><tt class="py-op">.</tt><tt class="py-name">addAction</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">menuHelp</tt><tt class="py-op">.</tt><tt class="py-name">menuAction</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
<a name="L68"></a><tt class="py-lineno">68</tt>  <tt class="py-line"> </tt>
<a name="L69"></a><tt class="py-lineno">69</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-11" class="py-name" targets="Method moltk.gui.moltk_ui.Ui_MoltkMainWindow.retranslateUi()=moltk.gui.moltk_ui.Ui_MoltkMainWindow-class.html#retranslateUi"><a title="moltk.gui.moltk_ui.Ui_MoltkMainWindow.retranslateUi" class="py-name" href="#" onclick="return doclink('link-11', 'retranslateUi', 'link-11');">retranslateUi</a></tt><tt class="py-op">(</tt><tt id="link-12" class="py-name"><a title="moltk.gui.moltk_app.MoltkMainWindow" class="py-name" href="#" onclick="return doclink('link-12', 'MoltkMainWindow', 'link-0');">MoltkMainWindow</a></tt><tt class="py-op">)</tt> </tt>
<a name="L70"></a><tt class="py-lineno">70</tt>  <tt class="py-line">        <tt class="py-name">QtCore</tt><tt class="py-op">.</tt><tt class="py-name">QMetaObject</tt><tt class="py-op">.</tt><tt class="py-name">connectSlotsByName</tt><tt class="py-op">(</tt><tt id="link-13" class="py-name"><a title="moltk.gui.moltk_app.MoltkMainWindow" class="py-name" href="#" onclick="return doclink('link-13', 'MoltkMainWindow', 'link-0');">MoltkMainWindow</a></tt><tt class="py-op">)</tt> </tt>
</div><a name="L71"></a><tt class="py-lineno">71</tt>  <tt class="py-line"> </tt>
<a name="Ui_MoltkMainWindow.retranslateUi"></a><div id="Ui_MoltkMainWindow.retranslateUi-def"><a name="L72"></a><tt class="py-lineno">72</tt> <a class="py-toggle" href="#" id="Ui_MoltkMainWindow.retranslateUi-toggle" onclick="return toggle('Ui_MoltkMainWindow.retranslateUi');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="moltk.gui.moltk_ui.Ui_MoltkMainWindow-class.html#retranslateUi">retranslateUi</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">MoltkMainWindow</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Ui_MoltkMainWindow.retranslateUi-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="Ui_MoltkMainWindow.retranslateUi-expanded"><a name="L73"></a><tt class="py-lineno">73</tt>  <tt class="py-line">        <tt id="link-14" class="py-name"><a title="moltk.gui.moltk_app.MoltkMainWindow" class="py-name" href="#" onclick="return doclink('link-14', 'MoltkMainWindow', 'link-0');">MoltkMainWindow</a></tt><tt class="py-op">.</tt><tt class="py-name">setWindowTitle</tt><tt class="py-op">(</tt><tt class="py-name">QtGui</tt><tt class="py-op">.</tt><tt class="py-name">QApplication</tt><tt class="py-op">.</tt><tt class="py-name">translate</tt><tt class="py-op">(</tt><tt class="py-string">"MoltkMainWindow"</tt><tt class="py-op">,</tt> <tt class="py-string">"MolTK: (no molecules)"</tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-name">QtGui</tt><tt class="py-op">.</tt><tt class="py-name">QApplication</tt><tt class="py-op">.</tt><tt id="link-15" class="py-name" targets="Variable PySide.QtCore.QCoreApplication.Encoding.UnicodeUTF8=PySide.QtCore.QCoreApplication.Encoding-class.html#UnicodeUTF8"><a title="PySide.QtCore.QCoreApplication.Encoding.UnicodeUTF8" class="py-name" href="#" onclick="return doclink('link-15', 'UnicodeUTF8', 'link-15');">UnicodeUTF8</a></tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
<a name="L74"></a><tt class="py-lineno">74</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">menuFile</tt><tt class="py-op">.</tt><tt class="py-name">setTitle</tt><tt class="py-op">(</tt><tt class="py-name">QtGui</tt><tt class="py-op">.</tt><tt class="py-name">QApplication</tt><tt class="py-op">.</tt><tt class="py-name">translate</tt><tt class="py-op">(</tt><tt class="py-string">"MoltkMainWindow"</tt><tt class="py-op">,</tt> <tt class="py-string">"File"</tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-name">QtGui</tt><tt class="py-op">.</tt><tt class="py-name">QApplication</tt><tt class="py-op">.</tt><tt id="link-16" class="py-name"><a title="PySide.QtCore.QCoreApplication.Encoding.UnicodeUTF8" class="py-name" href="#" onclick="return doclink('link-16', 'UnicodeUTF8', 'link-15');">UnicodeUTF8</a></tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
<a name="L75"></a><tt class="py-lineno">75</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">menuHelp</tt><tt class="py-op">.</tt><tt class="py-name">setTitle</tt><tt class="py-op">(</tt><tt class="py-name">QtGui</tt><tt class="py-op">.</tt><tt class="py-name">QApplication</tt><tt class="py-op">.</tt><tt class="py-name">translate</tt><tt class="py-op">(</tt><tt class="py-string">"MoltkMainWindow"</tt><tt class="py-op">,</tt> <tt class="py-string">"Help"</tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-name">QtGui</tt><tt class="py-op">.</tt><tt class="py-name">QApplication</tt><tt class="py-op">.</tt><tt id="link-17" class="py-name"><a title="PySide.QtCore.QCoreApplication.Encoding.UnicodeUTF8" class="py-name" href="#" onclick="return doclink('link-17', 'UnicodeUTF8', 'link-15');">UnicodeUTF8</a></tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
<a name="L76"></a><tt class="py-lineno">76</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">menuEdit</tt><tt class="py-op">.</tt><tt class="py-name">setTitle</tt><tt class="py-op">(</tt><tt class="py-name">QtGui</tt><tt class="py-op">.</tt><tt class="py-name">QApplication</tt><tt class="py-op">.</tt><tt class="py-name">translate</tt><tt class="py-op">(</tt><tt class="py-string">"MoltkMainWindow"</tt><tt class="py-op">,</tt> <tt class="py-string">"Edit"</tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-name">QtGui</tt><tt class="py-op">.</tt><tt class="py-name">QApplication</tt><tt class="py-op">.</tt><tt id="link-18" class="py-name"><a title="PySide.QtCore.QCoreApplication.Encoding.UnicodeUTF8" class="py-name" href="#" onclick="return doclink('link-18', 'UnicodeUTF8', 'link-15');">UnicodeUTF8</a></tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
<a name="L77"></a><tt class="py-lineno">77</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">menuView</tt><tt class="py-op">.</tt><tt class="py-name">setTitle</tt><tt class="py-op">(</tt><tt class="py-name">QtGui</tt><tt class="py-op">.</tt><tt class="py-name">QApplication</tt><tt class="py-op">.</tt><tt class="py-name">translate</tt><tt class="py-op">(</tt><tt class="py-string">"MoltkMainWindow"</tt><tt class="py-op">,</tt> <tt class="py-string">"View"</tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-name">QtGui</tt><tt class="py-op">.</tt><tt class="py-name">QApplication</tt><tt class="py-op">.</tt><tt id="link-19" class="py-name"><a title="PySide.QtCore.QCoreApplication.Encoding.UnicodeUTF8" class="py-name" href="#" onclick="return doclink('link-19', 'UnicodeUTF8', 'link-15');">UnicodeUTF8</a></tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
<a name="L78"></a><tt class="py-lineno">78</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">actionOpen</tt><tt class="py-op">.</tt><tt class="py-name">setText</tt><tt class="py-op">(</tt><tt class="py-name">QtGui</tt><tt class="py-op">.</tt><tt class="py-name">QApplication</tt><tt class="py-op">.</tt><tt class="py-name">translate</tt><tt class="py-op">(</tt><tt class="py-string">"MoltkMainWindow"</tt><tt class="py-op">,</tt> <tt class="py-string">"Open..."</tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-name">QtGui</tt><tt class="py-op">.</tt><tt class="py-name">QApplication</tt><tt class="py-op">.</tt><tt id="link-20" class="py-name"><a title="PySide.QtCore.QCoreApplication.Encoding.UnicodeUTF8" class="py-name" href="#" onclick="return doclink('link-20', 'UnicodeUTF8', 'link-15');">UnicodeUTF8</a></tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
<a name="L79"></a><tt class="py-lineno">79</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">actionBrowse_MolTK_python_API</tt><tt class="py-op">.</tt><tt class="py-name">setText</tt><tt class="py-op">(</tt><tt class="py-name">QtGui</tt><tt class="py-op">.</tt><tt class="py-name">QApplication</tt><tt class="py-op">.</tt><tt class="py-name">translate</tt><tt class="py-op">(</tt><tt class="py-string">"MoltkMainWindow"</tt><tt class="py-op">,</tt> <tt class="py-string">"Browse MolTK python API"</tt><tt class="py-op">,</tt> <tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-name">QtGui</tt><tt class="py-op">.</tt><tt class="py-name">QApplication</tt><tt class="py-op">.</tt><tt id="link-21" class="py-name"><a title="PySide.QtCore.QCoreApplication.Encoding.UnicodeUTF8" class="py-name" href="#" onclick="return doclink('link-21', 'UnicodeUTF8', 'link-15');">UnicodeUTF8</a></tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
</div></div><a name="L80"></a><tt class="py-lineno">80</tt>  <tt class="py-line"> </tt>
<a name="L81"></a><tt class="py-lineno">81</tt>  <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-22" class="py-name" targets="Module moltk.gui.structure_canvas=moltk.gui.structure_canvas-module.html"><a title="moltk.gui.structure_canvas" class="py-name" href="#" onclick="return doclink('link-22', 'structure_canvas', 'link-22');">structure_canvas</a></tt> <tt class="py-keyword">import</tt> <tt id="link-23" class="py-name"><a title="moltk.gui.structure_canvas.StructureCanvas" class="py-name" href="#" onclick="return doclink('link-23', 'StructureCanvas', 'link-3');">StructureCanvas</a></tt> </tt>
<a name="L82"></a><tt class="py-lineno">82</tt>  <tt class="py-line"> </tt><script type="text/javascript">
<!--
expandto(location.href);
// -->
</script>
</pre>
<br />
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="moltk-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center"
            ><a class="navbar" target="_top" href="http://moltk.rotatingpenguin.com/">MolTK python API v0.4.2 Documentation</a></th>
          </tr></table></th>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
  <tr>
    <td align="left" class="footer">
    Generated by Epydoc 3.0.1 on Wed Nov 09 19:05:03 2011
    </td>
    <td align="right" class="footer">
      <a target="mainFrame" href="http://epydoc.sourceforge.net"
        >http://epydoc.sourceforge.net</a>
    </td>
  </tr>
</table>

<script type="text/javascript">
  <!--
  // Private objects are initially displayed (because if
  // javascript is turned off then we want them to be
  // visible); but by default, we want to hide them.  So hide
  // them unless we have a cookie that says to show them.
  checkCookie();
  // -->
</script>
</body>
</html>
